package com.xujian.common.beans;

import java.sql.Timestamp;

/**
 * @author star xu
 * @date 2023/2/1 15:55
 * @Description:
 * @Slogan: 致敬大师,致敬未来的自己
 */

public class EventMsg {
    public String user;
    public String url;
    public Long timestamp;

    public EventMsg() {
    }
    public EventMsg(String user, String url, Long timestamp) {
        this.user = user;
        this.url = url;
        this.timestamp = timestamp;
    }
    @Override
    public String toString() {
        return "EventMsg{" +
                "user='" + user + '\'' +
                ", url='" + url + '\'' +
                ", timestamp=" + new Timestamp(timestamp) +
                '}';
    }
}